package com.lanchetech.dao;

import com.lanchetech.entity.PackageSku;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PackageSkuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PackageSku record);

    int insertSelective(PackageSku record);

    PackageSku selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PackageSku record);

    int updateByPrimaryKey(PackageSku record);

    int updateBatch(List<PackageSku> list);

    int updateBatchSelective(List<PackageSku> list);

    int batchInsert(@Param("list") List<PackageSku> list);

    List<PackageSku> findAllByActivityId(@Param("activityId")Long activityId);

    List<PackageSku> findAllBySpuId(@Param("spuId")Long spuId);

    int batchInsert2(@Param("list") List<PackageSku> list);


}